#include <kanzi/core.ui/animation/keyframe_animation.hpp>
Public Member Functions | |
BezierKeyframe () | |
Constructor. More... | |
BezierKeyframe (TValueType value, const Vector2 &p0, const Vector2 &p1) | |
Constructor. More... | |
void | setControlPoints (const Vector2 &p0, const Vector2 &p1) |
Vector2 | getControlPoint0 () const |
void | setControlPoint0 (Vector2 controlPoint) |
Vector2 | getControlPoint1 () const |
void | setControlPoint1 (Vector2 controlPoint) |
virtual TValueType | getValue (const TValueType ¤tValue, float normalizedTime) KZ_OVERRIDE |
Public Member Functions inherited from kanzi::KeyframeAnimation< TValueType >::Keyframe | |
Keyframe () | |
Constructor. More... | |
Keyframe (TValueType value) | |
Constructor. More... | |
virtual | ~Keyframe () |
TValueType | getKeyValue () const |
void | setKeyValue (const TValueType &keyValue) |
Static Public Member Functions | |
static BezierKeyframePtr | create (TValueType value, const Vector2 &p0, const Vector2 &p1) |
Creates bezier keyframe. More... | |
|
inlineexplicit |
Constructor.
|
inlineexplicit |
Constructor.
|
inlinestatic |
Creates bezier keyframe.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements kanzi::KeyframeAnimation< TValueType >::Keyframe.